# gnulib overrides
#
gl_cv_func_isnanl_works=yes
gl_cv_header_working_stdint_h=yes
gl_cv_func_fpurge_works=yes
gl_cv_func_fcntl_f_dupfd_cloexec=yes
gl_cv_func_getcwd_path_max=yes
gl_cv_func_fprintf_posix=yes
gl_cv_func_printf_sizes_c99=yes
gl_cv_func_printf_long_double=yes
gl_cv_func_printf_infinite=yes
gl_cv_func_printf_infinite_long_double=yes
gl_cv_func_printf_directive_a=yes
gl_cv_func_printf_directive_f=yes
gl_cv_func_printf_directive_n=yes
gl_cv_func_printf_directive_ls=yes
gl_cv_func_printf_positions=yes
gl_cv_func_printf_flag_grouping=yes
gl_cv_func_printf_flag_leftadjust=yes
gl_cv_func_printf_flag_zero=yes
gl_cv_func_printf_precision=yes
gl_cv_func_printf_enomem=yes
gl_cv_header_wchar_h_correct_inline=yes
gl_cv_decl_null_works=yes
gl_cv_func_malloc_posix=yes
gl_cv_func_memchr_works=yes
gl_cv_have_include_next=yes
gt_cv_inttypes_pri_broken=no
gl_cv_promoted_mode_t=mode_t
gl_cv_func_mbrtowc_sanitycheck=yes
gl_cv_sys_struct_timespec_in_time_h=yes
gl_cv_func_iswcntrl_works=yes
gl_cv_func_dup2_works=yes
gl_cv_func_fcntl_f_dupfd_works=yes
gl_cv_func_fseeko=yes
# the following flag, according to fseeko.m4, is needed to skip the fseeko replacement
gl_cv_func_fflush_stdin=yes
gl_cv_func_gettimeofday_clobber=no
gl_cv_func_gettimeofday_posix_signature=yes
gl_cv_func_lseek_pipe=yes
gl_cv_func_mbrtowc_retval=yes
gl_cv_func_posix_spawn_works=yes
gl_cv_func_sigprocmask=yes
gl_cv_func_spawnattr_setschedparam=yes
gl_cv_func_spawnattr_setschedpolicy=yes
gl_cv_func_stat_dir_slash=yes
gl_cv_func_strndup_works=yes
gl_cv_func_unsetenv_works=yes
gl_cv_func_working_strerror=yes
gl_cv_have_raw_decl_atoll=yes
gl_cv_have_raw_decl_btowc=yes
gl_cv_have_raw_decl_chown=yes
gl_cv_have_raw_decl_dprintf=yes
gl_cv_have_raw_decl_dup2=yes
gl_cv_have_raw_decl_dup3=yes
gl_cv_have_raw_decl_endusershell=yes
gl_cv_have_raw_decl_environ=yes
gl_cv_have_raw_decl_faccessat=yes
gl_cv_have_raw_decl_fchdir=yes
gl_cv_have_raw_decl_fchmodat=yes
gl_cv_have_raw_decl_fchownat=yes
gl_cv_have_raw_decl_fcntl=yes
gl_cv_have_raw_decl_fseeko=yes
gl_cv_have_raw_decl_fstatat=yes
gl_cv_have_raw_decl_fsync=yes
gl_cv_have_raw_decl_ftello=yes
gl_cv_have_raw_decl_ftruncate=yes
gl_cv_have_raw_decl_futimens=yes
gl_cv_have_raw_decl_getcwd=yes
gl_cv_have_raw_decl_getdelim=yes
gl_cv_have_raw_decl_getdomainname=yes
gl_cv_have_raw_decl_getdtablesize=yes
gl_cv_have_raw_decl_getgroups=yes
gl_cv_have_raw_decl_gethostname=yes
gl_cv_have_raw_decl_getline=yes
gl_cv_have_raw_decl_getlogin=yes
gl_cv_have_raw_decl_getlogin_r=yes
gl_cv_have_raw_decl_getpagesize=yes
gl_cv_have_raw_decl_getsubopt=yes
gl_cv_have_raw_decl_getusershell=yes
gl_cv_have_raw_decl_grantpt=yes
gl_cv_have_raw_decl_lchown=yes
gl_cv_have_raw_decl_link=yes
gl_cv_have_raw_decl_linkat=yes
gl_cv_have_raw_decl_lseek=yes
gl_cv_have_raw_decl_lstat=yes
gl_cv_have_raw_decl_mbsinit=yes
gl_cv_have_raw_decl_mbrlen=yes
gl_cv_have_raw_decl_mbrtowc=yes
gl_cv_have_raw_decl_memmem=yes
gl_cv_have_raw_decl_mempcpy=yes
gl_cv_have_raw_decl_memrchr=yes
gl_cv_have_raw_decl_mkdirat=yes
gl_cv_have_raw_decl_mkdtemp=yes
gl_cv_have_raw_decl_mkfifo=yes
gl_cv_have_raw_decl_mknod=yes
gl_cv_have_raw_decl_mknodat=yes
gl_cv_have_raw_decl_mkstemp=yes
gl_cv_have_raw_decl_openat=yes
gl_cv_have_raw_decl_pipe2=yes
gl_cv_have_raw_decl_posix_spawnattr_setpgroup=yes
gl_cv_have_raw_decl_popen=yes
gl_cv_have_raw_decl_pread=yes
gl_cv_have_raw_decl_ptsname=yes
gl_cv_have_raw_decl_rawmemchr=yes
gl_cv_have_raw_decl_readlink=yes
gl_cv_have_raw_decl_readlinkat=yes
gl_cv_have_raw_decl_realpath=yes
gl_cv_have_raw_decl_renameat=yes
gl_cv_have_raw_decl_rmdir=yes
gl_cv_have_raw_decl_setenv=yes
gl_cv_have_raw_decl_setusershell=yes
gl_cv_have_raw_decl_sigaction=yes
gl_cv_have_raw_decl_sigaddset=yes
gl_cv_have_raw_decl_sigdelset=yes
gl_cv_have_raw_decl_sigemptyset=yes
gl_cv_have_raw_decl_sigfillset=yes
gl_cv_have_raw_decl_sigismember=yes
gl_cv_have_raw_decl_sigpending=yes
gl_cv_have_raw_decl_sigprocmask=yes
gl_cv_have_raw_decl_sleep=yes
gl_cv_have_raw_decl_snprintf=yes
gl_cv_have_raw_decl_stat=yes
gl_cv_have_raw_decl_stpcpy=yes
gl_cv_have_raw_decl_stpncpy=yes
gl_cv_have_raw_decl_strcasestr=yes
gl_cv_have_raw_decl_strchrnul=yes
gl_cv_have_raw_decl_strncat=yes
gl_cv_have_raw_decl_strnlen=yes
gl_cv_have_raw_decl_strpbrk=yes
gl_cv_have_raw_decl_strsep=yes
gl_cv_have_raw_decl_strsignal=yes
gl_cv_have_raw_decl_strtod=yes
gl_cv_have_raw_decl_strtok_r=yes
gl_cv_have_raw_decl_strtoll=yes
gl_cv_have_raw_decl_strtoull=yes
gl_cv_have_raw_decl_strverscmp=yes
gl_cv_have_raw_decl_symlink=yes
gl_cv_have_raw_decl_symlinkat=yes
gl_cv_have_raw_decl_tmpfile=yes
gl_cv_have_raw_decl_ttyname_r=yes
gl_cv_have_raw_decl_unlinkat=yes
gl_cv_have_raw_decl_unlink=yes
gl_cv_have_raw_decl_unlockpt=yes
gl_cv_have_raw_decl_unsetenv=yes
gl_cv_have_raw_decl_usleep=yes
gl_cv_have_raw_decl_vdprintf=yes
gl_cv_have_raw_decl_vsnprintf=yes
gl_cv_have_raw_decl_wcsrtombs=yes
gl_cv_have_raw_decl_wcrtomb=yes
gl_cv_have_raw_decl_wcsnrtombs=yes
gl_cv_have_raw_decl_wctob=yes
gl_cv_have_raw_decl_wcwidth=yes
gl_cv_header_inttypes_h=yes
gl_cv_header_errno_h_complete=yes
gl_cv_header_working_fcntl_h=yes
gl_cv_header_stdint_h=yes
gl_cv_size_max=yes
gl_cv_sys_struct_timeval=yes
gl_cv_sys_struct_utimbuf=yes

# this gnulib test is especially stupid, it invokes UB and hangs for
# an entire minute
gl_cv_func_working_mktime=yes

# Force detection of musl's gettext
gt_func_gnugettext_libc=yes
gt_cv_func_gnugettext1_libc=yes
gt_cv_func_gnugettext2_libc=yes
gt_cv_func_gnugettext3_libc=yes
ac_cv_sys_file_offset_bits=64
ac_cv_sizeof_off_t=8
ac_cv_sizeof_ino_t=8
ac_cv_sizeof_blkcnt_t=8

# Force detection of musl's iconv
ac_cv_libiconv_utf8=yes

# musl omits BOM on UTF-16 and UTF-32
ac_cv_iconv_omits_bom=yes

# omit lchmod always returns ENOTSUP
ac_cv_func_lchmod=no
